package com.princess.demok.network

import com.princess.demok.net.data.HistoryData
import com.princess.demok.net.data.ResultData
import io.reactivex.Observable
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * @author: xha
 * @date: 2021/6/7 15:54
 * @Description:
 */
interface Api {
    /**
     * 历史上的今天
     */
    @POST("http://api.juheapi.com/japi/toh")
   suspend fun historyDay(
        @Query("key") key: String,
        @Query("v") v: String,
        @Query("month") month: Int,
        @Query("day") day: Int
    ): BaseResponse<List<HistoryData>>


}